<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<base href="${base}/">
		<#include "/sys/common/include.ftl">
		<!-- Business javascript -->
		<script src="resources/js/quick_backend/entity_example/entity_example_input.js"></script>
		<link href="resources/lib/select2-3.5.4/select2.css" rel="stylesheet" />
		<link href="resources/lib/select2-3.5.4/select2-bootstrap.css" rel="stylesheet" />
		<script src="resources/lib/select2-3.5.4/select2.min.js"></script>
		<script src="resources/lib/select2-3.5.4/select2_locale_zh-CN.js"></script>
	</head>
	<body>
		<div class="panel panel-default">
			<div class="panel-heading">
				<center><h3 class="panel-title">新增模板</h3></center>
			</div>
			<div class="panel-body">
				<div class="row-fluid">
					<div class="col-md-12">
								<#if entityExample.id??>
								<div class="alert alert-warning alert-dismissible" role="alert">
									<button type="button" class="close" data-dismiss="alert" aria-label="Close" >
									<span aria-hidden="true">&times;</span>
									</button>
									<strong>注意：</strong><span>密码留空则保持原密码</span>
								</div>
								</#if>
								<form method="get" class="form-horizontal" id="form0">
									<input type="hidden" class="form-control" name="id" value="${entityExample.id! }" />
									<div class="form-group">
										<label class="col-sm-2 control-label">名称</label>
										<div class="col-sm-10"><input type="text" class="form-control" name="name" value="${entityExample.name! }" required maxlength="128" /></div>
									</div>
									<div class="form-group">
										<div class="col-sm-4 col-sm-offset-2">
											<button class="btn btn-white" type="reset">撤销</button>
											<button class="btn btn-primary" type="submit">提交</button>
										</div>
									</div>
								</form>
					</div>
				</div>
			</div>
		</div>
	</body>
</html>